package com.pospi.xstore.util;

/**
 * 访问服务器的网址
 */
public class Api {
    /**
     * 服务器地址
     */
//    public static final String HOST = "http://pos.pospi.com";
    public static final String HOST = "http://106.15.72.240:36666/";

    public static final String PAY_URL="http://pay.pospi.com";
    private static final String KEY = "ce3e5f7eef24f699fae4902db18276c1";

    /**
     * 登陆
     */
    public static final String LOGIN = HOST + "sysapi/";
    /**
     * 菜单
     */
    public static final String SYNC_MENUS = HOST + "/api.php?m=opendkq&openkey=ce3e5f7eef24f699fae4902db18276c1&a=goods";
    /**
     * 采购单
     */
    public static final String SYNC_RECEIVE_LIST = HOST + "/api.php?m=opendkq&openkey=ce3e5f7eef24f699fae4902db18276c1&a=rklb";
    /**
     * 收银员
     */
    public static final String SYNCCASHIER = HOST + "/api.php?m=opendkq&openkey=ce3e5f7eef24f699fae4902db18276c1&a=cashier";


    public static final String SYNC_RECEIVE_UP = HOST + "/api.php?m=opendkq&openkey=ce3e5f7eef24f699fae4902db18276c1&a=rkdj";

    /**
     * 桌子
     */
    public static final String TABLE = HOST + "/api.php?m=opendkq&openkey=ce3e5f7eef24f699fae4902db18276c1&a=desk";

    /**
     * 分类
     */
    public static final String SYNCCATEGORY = HOST + "/Api/Root/SyncCategory";
    /**
     * 单据号
     */
    public static final String GETNO = HOST + "/Api/Root/GetNo";
    /**
     * 上传订单
     */
    public static final String SYNCORDER = HOST + "/api.php?m=opendkq&openkey=ce3e5f7eef24f699fae4902db18276c1&a=sell";

    public static final String SYNC_COUNTS = HOST + "/api.php?m=opendkq&openkey=ce3e5f7eef24f699fae4902db18276c1&a=pddj";
    public static final String SYNC_COUNTS_UP = HOST + "/api.php?m=opendkq&openkey=ce3e5f7eef24f699fae4902db18276c1&a=pdlr";

    /**
     * 店铺信息
     */
    public static final String SYNCSHOP = HOST + "/Api/Root/SyncShop";
    /**
     * 支付方式
     */
    public static final String PAYMENT = PAY_URL + "/Api/Pay/Payment";
    /**
     * 退款
     */
    public static final String REFUND = PAY_URL + "/Api/Pay/Refund";
    /**
     * 会员查询
     */
    public static final String FINDMEMBER = HOST + "/Api/Root/FindMember";

    /**
     * 下载做法
     */
    public static  String SyncModified = HOST + "/index.php/Api/Root/SyncModified";
    /**
     * 下载做法组
     */
    public static String SyncModifiedGroup = HOST + "/api.php?m=opendkq&openkey=ce3e5f7eef24f699fae4902db18276c1&a=ys";

}
